package View;

import javax.swing.JPanel;
import javax.swing.JTextField;

import net.miginfocom.swing.MigLayout;

public class MainPanel extends JPanel{
	 private HomePage homepage;
	 private SignInPage signIn;
	 JTextField test;
	 
	 public MainPanel() {
	        setLayout(new MigLayout("center, center"));
	        
	        initComponents();
	        addComponents();
	  }
	 
	 private void initComponents() {
		 homepage = new HomePage();
		 signIn = new SignInPage();
	 }
	 
	 private void addComponents() {
		 //add(homepage, "wrap");
		// add(signIn);
	 }
	   
	 public HomePage getHomePage() {
	        return homepage;
	 }
	 
	 public SignInPage getSignInPage(){
		 return signIn;
	 }
}
